package cn.cloud9;

import java.util.Random;

public class Demo3IsOddOrEven {
    /**
     * https://www.bilibili.com/video/BV18J411W7cE?p=34
     * 判断是否是奇偶数？
     * @param args
     */
    public static void main(String[] args) {
        Random random = new Random();
        int i = random.nextInt(100);
        if (i % 2 == 0) System.out.println("偶数");
        else System.out.println("基数");
    }
}
